package com.app.stick.monitor.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.app.common.annotation.Excel;
import com.app.common.core.domain.BaseEntity;

/**
 * 患者监测数据对象 biz_patient_monitor_info
 *
 * @author app
 * @date 2023-12-21
 */
@Data
@TableName(value = "biz_patient_monitor_info" )
@ApiModel(value = "BizPatientMonitorInfo" , description = "患者监测数据对象" )
public class BizPatientMonitorInfo extends BaseEntity
{
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    /** 监测数据ID */
    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "监测数据ID")
    private Long pmiId;

    /** 绑定ID */
    @Excel(name = "绑定ID")
    @ApiModelProperty(value = "绑定ID")
    private String pdiId;

    /** 患者就诊ID */
    @Excel(name = "患者就诊ID")
    @ApiModelProperty(value = "患者就诊ID")
    private String visitId;

    /** 患者档案ID */
    @Excel(name = "患者档案ID")
    @ApiModelProperty(value = "患者档案ID")
    private String patientId;

    /** 监测电量 */
    @Excel(name = "监测电量")
    @ApiModelProperty(value = "监测电量")
    private Integer pmiElectricity;

    /** 监测温度 */
    @Excel(name = "监测温度")
    @ApiModelProperty(value = "监测温度")
    private Double pmiTemperature;

    /** 已佩戴时长 */
    @Excel(name = "已佩戴时长")
    @ApiModelProperty(value = "已佩戴时长")
    private Long pmiDuration;

    /** 上传时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "上传时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "上传时间")
    private Date pmiTime;

    /** 删除标志（0=正常,2=删除） */
    @ApiModelProperty(value = "删除标志（0=正常,2=删除）")
    private String delFlag;


}
